package com.hontech.bv.model.heat

import com.hontech.bv.conn.serial.Uint16
import com.hontech.bv.conn.serial.Uint8

class Status {

    val appVersion = Uint16()
    val switchValue = Uint16()
    val adc = Uint16()
    val flowCount = Uint16()
    val ctrlValue = Uint16()
    val waterTemp = Uint16()
    val steamTemp = Uint16()
    val drawType = Uint8()
    val heatType = Uint8()

    fun sw() = SwitchValue(switchValue.value)
    fun ctrl() = CtrlValue(ctrlValue.value)
}


